{
  "registry-mirrors": [
{% for mirror in docker_registry_mirrors %}
    "{{mirror}}"
    {%- if not loop.last -%},{%- endif %}

{% endfor %}
  ],
  "insecure-registries": [
{% for registry in docker_insecure_registries %}
    "{{registry}}"
    {%- if not loop.last -%},{%- endif %}

{% endfor %}
  ],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  },
  "storage-driver": "overlay2",
  "data-root": "/var/lib/docker",
  "live-restore": true,
  "hosts": ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2375"]
}